﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Resto.CostControl.Core.Models.SysSettings
{
    /// <summary>
    /// 枚举项实体
    /// </summary>
    public class EnumItem : BaseModel
    {
        public string Id { get; set; }

        [Display(Name = "枚举编号")]
        public string EnumCode { get; set; }

        [Display(Name = "枚举名称")]
        public string EnumName { get; set; }

        [Display(Name = "拼首码")]
        public string FirstChar { get; set; }

        [Display(Name = "枚举类型ID")]
        public string TypeId { get; set; }

        [Display(Name = "枚举类型")]
        public string TypeCode { get; set; }

        [Display(Name = "父枚举ID")]
        public string ParentId { get; set; }

        [Display(Name = "父枚举标识")]
        public string ParentCode { get; set; }

        [Display(Name = "父枚举名称")]
        public string ParentName { get; set; }

        [Display(Name = "排序号")]
        public int SeqNo { get; set; }

        [Display(Name = "备注")]
        public string Remark { get; set; }
    }
}
